<?php
	session_start();	
?>

<?php
	if( $_SESSION["admin"] != "" )
	{
?>
<?php
	
			$_SESSION["admin"] = "";
			echo "<meta http-equiv='refresh' content='0; url=index.php' />";
?>
<?php
     }
   else
	{
		echo "<meta http-equiv='refresh' content='0; url=login.php' />";
	}
?>